<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<span class="page"> <s:if test="statDataList != null and statDataList.size() > 0">
        <s:text name="common.page.inall" />
        <!-- 共 -->&nbsp;<s:property value="page.totalCount" />&nbsp;<s:text name="common.page.bperpage" />
        <!-- 条 -->&nbsp;&nbsp;<s:text name="common.page.number" />
        <!-- 第 -->&nbsp;<s:property value="page.currentPage" />/<s:property value="page.totalPage" />&nbsp;<s:text name="common.page.page" />
        <!-- 页 -->&nbsp;
<s:if test="page.currentPage == 1">
            <img title="<s:text name='common.page.first' />" src="<s:url value='/skins/default/images/page/page_first_b.gif'/>" />
            <img title="<s:text name='common.page.pre' />" src="<s:url value='/skins/default/images/page/page_pre_b.gif'/>" />
        </s:if>
        <s:else>
            <a href="javascript:void queryByPage(1,<s:property value='page.pageSize'/>,<s:property value='page.totalPage'/>,<s:property value='page.totalCount'/>);" >
            <img title="<s:text name='common.page.first' />" src="<s:url value='/skins/default/images/page/page_first_a.gif'/>" />
            </a>
            <a href="javascript:void queryByPage(<s:property value='page.prePage'/>,<s:property value='page.pageSize'/>,<s:property value='page.totalPage'/>,<s:property value='page.totalCount'/>);" >
            <img title="<s:text name='common.page.pre' />" src="<s:url value='/skins/default/images/page/page_pre_a.gif'/>" />
            </a>
        </s:else>
        <s:if test="page.currentPage == page.totalPage">
            <img title="<s:text name='common.page.next' />" src="<s:url value='/skins/default/images/page/page_next_b.gif'/>" />
            <img title="<s:text name='common.page.last' />" src="<s:url value='/skins/default/images/page/page_last_b.gif'/>" />
        </s:if>
        <s:else>
            <a href="javascript:void queryByPage(<s:property value='page.nextPage'/>,<s:property value='page.pageSize'/>,<s:property value='page.totalPage'/>,<s:property value='page.totalCount'/>);" >
            <img title="<s:text name='common.page.next' />" src="<s:url value='/skins/default/images/page/page_next_a.gif'/>" />
            </a>
            <a href="javascript:void queryByPage(<s:property value='page.totalPage'/>,<s:property value='page.pageSize'/>,<s:property value='page.totalPage'/>,<s:property value='page.totalCount'/>);" >
            <img title="<s:text name='common.page.last' />" src="<s:url value='/skins/default/images/page/page_last_a.gif'/>" />
            </a>
        </s:else>
	&nbsp;<s:text name="common.page.perpage" />
        <!-- 每页 -->
        <select class="select_page" name="pageSize" id="pageSize" onchange="queryByPage(1,this.value,<s:property value='page.totalPage'/>,<s:property value='page.totalCount'/>)">
            <option value="50" <s:if test="page.pageSize==50">selected="selected"</s:if>>50</option>
            <option value="100" <s:if test="page.pageSize==100">selected="selected"</s:if>>100</option>
            <option value="200" <s:if test="page.pageSize==200">selected="selected"</s:if>>200</option>
        </select>
        <s:text name="common.page.bperpage" />
        <!-- 条 -->
    </s:if>
</span>
<s:else>
    <div style="color: red; text-align: center;">
        <s:text name="common.page.noInfo" />
        <!-- common.page.noInfo -->
    </div>
</s:else>
